package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel(description = "聊天会话")
public class BizMessageConversationVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("发送人id")
    private Long sendUserId;

    @ApiModelProperty("客户姓名")
    private String sendUserName;

    @ApiModelProperty("客户类型")
    private String userType;

    @ApiModelProperty("接收人id")
    private Long receiveUserId;

    @ApiModelProperty("客服姓名")
    private String receiveUserName;

    @ApiModelProperty("发送人的未读数量")
    @Excel(name = "发送人的未读数量")
    private Integer sendUnreadCount;

    @ApiModelProperty("接收人的未读数量")
    @Excel(name = "接收人的未读数量")
    private Integer receiveUnreadCount;



    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;


    @ApiModelProperty("最新咨询时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
